#include <iostream>
using namespace std;


int main()
{
    int * p = reinterpret_cast<int*>(100);
    cout << "p: " << p << endl;

    int num = reinterpret_cast<long>(p);
    cout << "num: " << num << endl;  
    return 0;
}